/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const mechanismRouter = {
  path: '/mechanism',
  component: Layout,
  redirect: 'noRedirect',
  name: '研发',
  hidden:true,
  meta: {
    title: '研发', icon: 'guide'
  },
  children: [
    {
      path: 'main',
      component: () => import('@/views/mechanism/main'),
      name: '概览',
      hidden:true,
      meta: { title: '概览', icon: 'guide' }
    },
    {
      path: 'company',
      component: () => import('@/views/mechanism/company/company'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'company-add',
      component: () => import('@/views/mechanism/company/company-add'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'company-detail',
      component: () => import('@/views/mechanism/company/company-detail'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'employee',
      component: () => import('@/views/mechanism/employee/employee'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'employee-add',
      component: () => import('@/views/mechanism/employee/employee-add'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'employee-detail',
      component: () => import('@/views/mechanism/employee/employee-detail'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'department',
      component: () => import('@/views/mechanism/department/department'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'department-add',
      component: () => import('@/views/mechanism/department/department-add'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'department-detail',
      component: () => import('@/views/mechanism/department/department-detail'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'position',
      component: () => import('@/views/mechanism/position/position'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'position-add',
      component: () => import('@/views/mechanism/position/position-add'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    },
    {
      path: 'position-detail',
      component: () => import('@/views/mechanism/position/position-detail'),
      name: '员工',
      hidden:true,
      meta: { title: '员工', icon: 'guide' }
    }
  ]
}

export default mechanismRouter
